package com.topisv.tms.entity.work;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;

/**
 * 作业订单视图
 * @author ch
 *
 */
@Entity
@Table(name = "view_work_order")
public class ViewWorkOrder extends IdEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private String customerCode;
	
	private String warehouseCode;
	
	private String orderno;
	
	private Date createTime;
	
	private String sku;
	
	private Integer num;
	
	private String expressNo;
	
	private String batchCode;
	
	private String taskCode;
	
	private String cancelStatus;
	
	private String status;
	
	private String customerOrderno;
	
	private String fromno;
	
	private String goodsName;
	
	private String orderType;
	
	private String shopCode;
	
	private String shopName;
	
	private Double pri;
	
	private String addres;
	
	public String getShopCode() {
		return shopCode;
	}

	public void setShopCode(String shopCode) {
		this.shopCode = shopCode;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getFromno() {
		return fromno;
	}

	public void setFromno(String fromno) {
		this.fromno = fromno;
	}

	public String getCustomerOrderno() {
		return customerOrderno;
	}

	public void setCustomerOrderno(String customerOrderno) {
		this.customerOrderno = customerOrderno;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public Date getCreateTime() {
		return createTime;
	}
	
	public String getExpressNo() {
		return expressNo;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	public String getTaskCode() {
		return taskCode;
	}

	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}

	public String getCancelStatus() {
		return cancelStatus;
	}

	public void setCancelStatus(String cancelStatus) {
		this.cancelStatus = cancelStatus;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCustomerCode() {
		return customerCode;
	}

	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	
	public String getAddres() {
		return addres;
	}

	public void setAddres(String addres) {
		this.addres = addres;
	}

	
	public Double getPri() {
		return pri;
	}

	public void setPri(Double pri) {
		this.pri = pri;
	}


	//dto属性
	private Customers customer;
	
	private AreaGroup warehouse;

	@Transient
	public Customers getCustomer() {
		return customer;
	}

	public void setCustomer(Customers customer) {
		this.customer = customer;
	}

	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}

 
}